<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="erp" uri="/erp-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">
<link rel="stylesheet"
	href="<%=basePath%>script/jquery-ui-1.10.4/themes/base/jquery.ui.all.css">
<script src="<%=basePath%>script/jquery-ui-1.10.4/jquery-1.10.2.js"></script>
<script src="<%=basePath%>script/jquery-ui-1.10.4/ui/jquery.ui.core.js"></script>
<script
	src="<%=basePath%>script/jquery-ui-1.10.4/ui/jquery.ui.widget.js"></script>
<script
	src="<%=basePath%>script/jquery-ui-1.10.4/ui/jquery.ui.button.js"></script>
<script src="<%=basePath%>script/script.js"></script>
<link rel="stylesheet"
	href="<%=basePath%>script/jquery-ui-1.10.4/demos/demos.css">
<link rel="stylesheet" href="<%=basePath%>style/style.css">
<script>
	$(function() {
		init_list_page();
	});
</script>
</head>
<body>

	<div class="ui-widget list_container center">
		<h1>审核流程管理</h1>
		<table class="ui-widget ui-widget-content">
			<thead>
				<tr class="ui-widget-header ">
					<th>申请人</th>
					<th>申请时间</th>
					<th>标题</th>
					<th>状态</th>
					<th colspan="2">操作</th>
				</tr>
			</thead>
			<tbody>
				<s:iterator value="%{#request.applyList}">
					<tr>
						<td>${applicant.name}</td>
						<td><s:date name="%{applyTime}" format="yyyy-MM-dd HH:mm" /></td>
						<td>${title}</td>
						<td>${status}</td>
						<td><s:a action="examine_addPage?apply.id=%{id}">审核处理</s:a></td>
						<td><s:a action="workflow_showProcInstImage?procInstId=%{procInstId}" cssClass="a_show_img">查看流程图</s:a></td>
					</tr>
				</s:iterator>
			</tbody>
		</table>
	</div>
</body>
</html>
